package day06homework1;

public class Doctor1 extends  Person {
    String title;
    Doctor1(){
    }
    Doctor1(String name,String address,int age,String title){
        this.name = name;
        this.age = age;
        this.address =address;
        this. title = title;
    }
    void cut(){
        System.out.println(title+name+"正在做手术");
    }
}
